package com.activitycode.util;

import android.R.integer;
import android.os.Environment;
import android.view.Menu;

/**
 * 鐢悂鍣虹猾锟� */
public class CommConstant
{
	public enum TaskResult 
	{
		OK, 
		ERROR, 
		CANCELLED,
		LEVEL,
		ACRIVATE
	}
	
	public static enum TaskAction
	{
		one,
		two,
		three,
		four,
		five,
		del_img,
		del_wedding_img,
		ar_sign
	}
	
	
	public static final String IMAGETAMPPATH = Environment.getExternalStorageDirectory() + "/pet/pet/cache/tamp/";
	public static final String IMAGESAVEPATH = Environment.getExternalStorageDirectory() + "/pet/pet/cache/image/";
	public static final String IMAGETAMPFOLDER = "pet/pet/cache/tamp";
	
	
	
	//閸愬懐缍�
	//public final static String SERVICE_HOST_IP_LAN		     = "http://192.168.1.107:8080/wedding/mobileJson";
	//public final static String SERVICE_HOST_IP_LAN_IMG	 = "http://192.168.1.107:8080/wedding/mobileJson";
	
	//婢舵牜缍塰ttp
	public final static String SERVICE_HOST_IP_LAN		     = "http://123.57.7.88/admin/index.php/Api/";
	public final static String SERVICE_HOST_IP_LAN_IMG	 = "http://123.57.7.88/admin/";
	public static String ADDPETHEADD							=  "http://123.57.7.88/admin/index.php/Common/Upload/ios";
//	//婢舵牜缍塰ttps
//	public final static String SERVICE_HOST_IP_WAN		     = "https://demo.app.web_server.com.cn:443";
//	public final static String SERVICE_HOST_IP_WAN_IMG	 = "https://demo.app.web_server.com.cn:443";
//	
//	public static String SERVICE_HOST_IP		="";
//	public static String SERVICE_HOST_IP_IMG="";
	public final static int PAGER_START									= 1;
	public final static int PAGER_START0								= 0;
	public static final String INTENT_TYPE = "INTENT_TYPE";
	public static final int RQ_REFRESH 						= 				1000;
	public static final int RQ_PET 							= 	7777;
	public final static int REQUEST_EFFECT									=  9998;
	public final static int REQUEST_ADDCOM					= 6666;
	public final static int REQUEST_COMMENT					=789456;
	public static String ALBUMADD								=  "Album/add_album";
	public static String TWITTER_ADD								=  "Twitter/twitter_add";
	//大众点评
	public final static String SERVICE_HOST_IP_DIANPING    = "http://api.dianping.com/v1/business/find_businesses";
	public final static String APPKEY                      = "0900420225";
	public final static String APPSECRET                   = "c3385423913745e992079187dc08d33d";
	public final static  int RQ_POSITION                   = 9999;
	//下拉刷新ID
	public final static int R_FIND_EVALUE 				     = 0;
	public final static int R_SQUARE_ADDMSG_CHOOSEPET        = 1;
	public final static int R_SQUARE_ADDMSG_CHOOSEPOSITION   = 2;
	public final static int R_TWITTER_PETUSERTWITTER		 = 3;
	public final static int R_TWITTER_TWITTER				 = 4;
	public final static int R_WIKI_WIKILIST					 = 5;
	public final static int R_FRAGMENT_ME					 = 6;
	public final static int R_FRAGMENT_OTHERSERVISE 		 = 7;
	public final static int R_FRAGMENT_PERWIKI			     = 8;
	
	//閻у妾�
		public static String VERSION									=  "Version/getVersion";
		public static String LOGIN									=  "User/login";
		public static String REGISTER								=  "User/register";
		public static String CONFIRMWORD								=  "User/register_authcode";
		public static String PASSCONFIRMWORD								=  "User/reset_password_authcode";
		public static String GETUSERINFO								=  "User/getUserInfoByID";
		public static String MODIFYHEAD								=  "User/modifyImage";
		public static String MODIFYSIGLEUSERINFO								=  "User/modifySingleProperty";
		
		public static String MODIFIBGIMAGE =  "User/modifyBackgroundImage";

		
		public static String MODIFYREGION							=  "User/modifyLocation";
		public static String SORT1							=  "PetStyle/searchAllTypePets";
		public static String SORT3							=  "PetStyle/searchDetailByID";
		public static String ADDPET							=  "Pet/petAdd";
		public static String ADDPETHEAD                     =   "Pet/updateAvatar";
		public static String PETSEARCH							=  "User/search_friend";
		public static String ADDTCOMMENT							=  "Twitter/twitter_comment_add";
		public static String SEARCHFRIEND							=  "User/search_friend2";
		public static String PETDETAIL							=  "Pet/GetPetDetailByID";
		public static String PETDETAILADDIMG							=  "Pet/UploadPetImage";
		public static String PETUPDATE							=  "Pet/updatePetInfo";
		public static String PETRECOMMEND							=  "Pet/recommend";
		public static String WIKIRECOMMEND							=  "Ency/getTodayEncy/";
		public static String WIKIAD							=  "Ency/getAd";
		public static String WIKIPET							=  "EncyType/getMinorCategory";
		public static String WIKISEARCH							=  "Ency/searchEncy/";
		public static String WIKIPETARTICLE					=  "Ency/ency_article/";
		public static String WIKICATEARTICLE							=  "Ency/category_article/";
		public static String WIKIISCOLLECT					=  "Ency/is_collect/";
		public static String WIKISETCOLLECT							=  "Ency/setCollect/";
		public static String WIKICOLLECTLIST					=  "Ency/getCollectArticle/";
		public static String SETPASSWORD							=  "User/setPassword/";
		public static String SQUAREHOME 								="Square/home";
		public static String SQUARELIST 								="Square/getSquareList";
		public static String TWITTERREMINDINFO							="Twitter/twitter_remind_info"; 
		public static String FANSLIST 								="User/fans_list";
		public static String ATTENLIST 								="User/friend_list";
		public static String MERCHANTINFO 								="Square/merchant_info";
		public static String COMMENTLIST 								="Square/comment_list";
		public static String ADDEVALUATE 								="Square/comment_add";
		
		public static String TWITTERADD                                  = "Twitter/twitter_list";
		public static String  TWITTERSTAR                                  ="Twitter/twitter_star";
		public static String  TWITTERDEL										="Twitter/twitter_star_del";
		public static String TWITTERDEL1 						="Twitter/twitter_del";

		public static String   TWITTERCOMMENTLIST             	="Twitter/twitter_comment_list";
		
		public static String TWITTERPETUSER                     ="Twitter/keeper_info";
		public static String TWITTERPETUSERLIST                 ="Twitter/twitter_personal";
		public static String USERATTENTION                      ="User/attention";


}
